package com.customer.crm.business.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: zlq
 * @create : 2021/12/21
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_crm_business")
@Alias("businessCustomer")
public class BusinessCustomer implements Serializable {
    private Integer id;
    @TableField("cusname")
    private String customerName;
    private String bname;
    private String origin;
    @TableField("nextstep_time")
    private Date nextstepTime;
    @TableField("nextstep")
    private String nextstep;
    private String username;
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private LocalDateTime createTime;
    @TableField(fill=FieldFill.UPDATE,value="update_time")
    private LocalDateTime updateTime;
    @TableField("conname")
    private String contactsName;
}
